package sz.szsmk.citizencard.ui.newversion.activity.adapter

import android.content.Context
import android.graphics.Color
import android.text.SpannableString
import android.text.Spanned
import android.text.style.ForegroundColorSpan
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.pop__trip_plan_des_item.view.*
import sz.szsmk.citizencard.R
import sz.szsmk.citizencard.databinding.PopTripPlanDesItemBinding

/**
 *  author : hyt
 *  date : 2020/9/3
 *  description :
 */
class SearchStationAdapter(s: String) : RecyclerView.Adapter<SearchStationAdapter.SearchStationHolder>() {

    lateinit var context: Context
    var type = s
    var stationKey = ""
    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) =
            SearchStationHolder(DataBindingUtil.inflate(LayoutInflater.from(parent.context),
                    R.layout.pop__trip_plan_des_item, parent, false))

    override fun getItemCount() = 0

    override fun onBindViewHolder(holder: SearchStationHolder, position: Int) {


    }



    class SearchStationHolder(var bind: PopTripPlanDesItemBinding)
        : RecyclerView.ViewHolder(bind.root) {
        init {

        }
    }

}